<#include "../../head.ftl">
<div class="page_title">客户信息管理 &gt; 客户信息 &gt; 交往记录</div>
<div class="button_bar">
    <button class="common_button" onclick="help('');">帮助</button>
    <button class="common_button" onclick="to('${base}/record/queryBefore?customerid=${customer.id}');">新建</button>
    <button class="common_button" onclick="back();">返回</button>
</div>
<table class="query_form_table">
    <tr>
        <th>客户编号</th>
        <td>${customer.identity}</td>
        <th>客户名称</th>
        <td>${customer.name}</td>
    </tr>
</table>
<br />
<table class="data_list_table">
    <tr>
        <th width="232">时间</th>
        <th>地点</th>
        <th>概要</th>
        <th>详细信息</th>
        <th>备注</th>
        <th>操作</th>
    </tr>
	<#list recordList as record>
	    <tr>
            <td class="list_data_text" width="230">${record.createtime?string("yyyy年MM月dd日")}</td>
            <td class="list_data_text">${record.outline!''}</td>
            <td class="list_data_ltext">${record.address!''}</td>
            <td class="list_data_ltext">${record.detailed!''}</td>
            <td class="list_data_op">${record.remarks!''}</td>
            <td class="list_data_op">
                <a href="${base}/record/queryBefore?id=${record.id}">
                    <img title="编辑" src="${base}/images/bt_edit.gif" class="op_button" />
                </a>
                <a href="${base}/record/delete?id=${record.id}">
                    <img title="删除" src="${base}/images/bt_del.gif" class="op_button" />
                </a>
            </td>
        </tr>
	</#list>
</table>
</body>
</html>